#ifndef BOUNDING
# define BOUNDING
# include "phy_const.hh"
# include "../math/vector.hh"

class Bounding
{
 public:
  Bounding ();
  virtual bool intersect (Bounding* obj) = 0;
  // Identity function (avoiding cast)
  virtual int operator() ();
  Vector3f pos_get ();
  Vector3f size_get ();
  void update_pos (const Vector3f&);
  void pos_set (Vector3 pos);
 protected:
  Vector3 pos_;
};
#endif
